package com.example.service;

import com.example.entity.Script;
import com.example.entity.Storyboardfiles;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 陈昌吉
 * @since 2024-04-16
 */
public interface IStoryboardfilesService extends IService<Storyboardfiles> {

    List<Storyboardfiles> insert(MultipartFile file, Integer hid);

    List<Storyboardfiles> getAll(Integer hid);

    String deleteFile(Storyboardfiles storyboardfiles);

    List<Storyboardfiles> getStory(Storyboardfiles storyboardfiles);

    void updateState(Storyboardfiles storyboardfiles);

    LinkedHashSet<Storyboardfiles> getStoryState(ArrayList<Integer> hids);
}
